<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<div class="bodyDiv">
	<div class="yourPosition">您的位置： <a href="./">首页</a> &gt;&gt; 热点项目</div>
</div>
<div class="bodyDiv" style="height: 100%; margin-bottom: auto">
	<ul style="list-style-position: outside; list-style-type: none; margin: 0pt; padding: 0;">
		<li style="float: left; width: 100%" class="">
			<div class="searchForm">
				<form id="query_form" action="hotProjectList.action" method="get" style="text-align: center;">
				区域：
						<select name="region.regionId">
							<option value="">---所有区域---</option>
							<s:iterator value="#application[@org.zhouhe.util.Constant@APPLICATION_KEY_REGION_LIST ]">
								<option value="${regionId }" <s:if test="%{region.regionId == regionId}">selected</s:if>><s:property value="name"/></option>
							</s:iterator>
						</select>
				行业：
						<select name="projectIndustry.industryId">
							<option value="">---所有行业---</option>
							<s:iterator value="#application[@org.zhouhe.util.Constant@APPLICATION_KEY_INDUSTRY_LIST ]">
								<option value="${industryId }" <s:if test="%{projectIndustry.industryId == industryId}">selected</s:if>><s:property value="name"/></option>
							</s:iterator>
						</select>
					<s:hidden id="show_page" name="pageUtil.showPage" value="pageUtil.showPage"></s:hidden>
					<input type="button" value="查询" onclick="go(1, true)" />
				</form>
			</div>
			<table class="dataTable">
				<tr>
					<th>地区</th>
					<th>行业</th>
					<th>标题</th>
					<th>发布时间</th>
				</tr>
				<s:iterator value="pageUtil.pageData">
				<tr>
					<td><s:iterator value="hotProjectRegions" status="sts"><s:if test="#sts.index>0">、</s:if><s:property value="region.name" /></s:iterator></td>
					<td><s:property value="industry.name" /></td>
					<td><s:a href="hotProjectDetail.action?hotProject.hotProjectId=%{hotProjectId}"><s:property value="title" /></s:a></td>
					<td><s:date name="displayTime" format="yyyy-MM-dd"/></td>
				</tr>
				</s:iterator>
			</table>
<div>
<script type="text/javascript">
<!--
		function go(showPage, newSearch){
			$('#show_page').val(showPage);
			if(!newSearch){
				$('#query_form').get(0).reset();
			}
			$('#query_form').submit();
		}
	//-->
	</script>
<%@ include file="/jsp/common/common_include_for_pages.jsp"%>
</div>			
		</li>
	</ul>
	<div style="clear: both;"></div>
</div>